﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <title></title>

    <script type='text/javascript' src='_layouts\Silverlight\Silverlight.js'></script>

<script type="text/javascript">
function createSilverlight()
{
	Silverlight.createObjectEx({
		source: 'DisplayListActivity.xaml',
		parentElement: document.getElementById('Host_silverlightcontrol1'),
		id: 'sc_silverlightcontrol1',
		properties: {
			width: '100%',
			height: '100%',
			version: '1.1',
			enableHtmlAccess: 'true'
		},
		events: {onLoad:updateDisplay}
	});
}
function updateDisplay(plugin, userContext, sender)
{
    var control = document.getElementById('sc_silverlightcontrol1');

    if (control) {
        control.focus();
        control.Content.listActivity.SetOptions('<PropertyBag><Property Name="SharePointSiteUrl" Value="blog" /><Property Name="XamlUrl" Value="_layouts/ListActivity/DisplayListActivity.xaml" /><Property Name="SilverlightJsUrl" Value="/_layouts/silverlight/silverlight.js" /><Property Name="SilverlightControlId" Value="sc_silverlightcontrol1" /><Property Name="DisplayZeroActivityLists" Value="False" /><Property Name="OpenListInNewWindow" Value="False" /><Property Name="Bar1Color" Value="Red" /><Property Name="Bar2Color" Value="Purple" /><Property Name="ShowSiteTitle" Value="False" /></PropertyBag>');
        control.Content.listActivity.UpdateDisplay('<Site><SiteInfo><SiteTitle>Blog</SiteTitle><SiteDescription>My Blog Site</SiteDescription><SiteUrl>blog</SiteUrl></SiteInfo><Lists><List><ListTitle>Categories</ListTitle><YesterdayActivity>0</YesterdayActivity><TodayActivity>0</TodayActivity><ListUrl>/blog/Lists/Categories/AllCategories.aspx</ListUrl></List><List><ListTitle>Comments</ListTitle><YesterdayActivity>0</YesterdayActivity><TodayActivity>0</TodayActivity><ListUrl>/blog/Lists/Comments/AllComments.aspx</ListUrl></List><List><ListTitle>Links</ListTitle><YesterdayActivity>0</YesterdayActivity><TodayActivity>0</TodayActivity><ListUrl>/blog/Lists/Links/AllItems.aspx</ListUrl></List><List><ListTitle>Other Blogs</ListTitle><YesterdayActivity>0</YesterdayActivity><TodayActivity>0</TodayActivity><ListUrl>/blog/Lists/OtherBlogs/AllItems.aspx</ListUrl></List><List><ListTitle>Photos</ListTitle><YesterdayActivity>2</YesterdayActivity><TodayActivity>4</TodayActivity><ListUrl>/blog/Lists/Photos/Forms/AllItems.aspx</ListUrl></List><List><ListTitle>Posts</ListTitle><YesterdayActivity>0</YesterdayActivity><TodayActivity>1</TodayActivity><ListUrl>/blog/Lists/Posts/AllPosts.aspx</ListUrl></List></Lists></Site>');
    }
}
</script>
<style type='text/css'>
    .HostStyle_silverlightcontrol1 { width: 100; height: 100; }
</style>
</head>
<body>
<div id='Host_silverlightcontrol1' 
        class='HostStyle_silverlightcontrol1' >
        <script type='text/javascript'>
            var context = '';
            createSilverlight();
        </script>
    </div>
    </body>
</html>
